<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" close="true">
        <span aria-hidden="true">×</span>
    </button>
    <h4 class="modal-title">
        &nbsp;{$title}
    </h4>
</div>
<div class="modal-body">
    <p class="col-sm-12">
    <div class="row">
        <div class="col-sm-2"></div>
        <div class="alert alert-warning">{$msg}</div>
    </div>


    {if condition="$operation eq 'cancel'"}
    <div class="row">
        <label>取消原因:</label>
        <select class="form-control cancel_select">
            {volist name="Cancel_reason" id="vo"}
                <option value="{$key}">{$vo}</option>
            {/volist}
        </select>
    </div>

    <div class="row" style="margin-top:15px;">
        <label>取消备注:</label>
        <textarea cols="39" rows="7" class="form-control cancel_remark" name="remark"></textarea>
    </div>
    {/if}


</div>
</p>

</div>
<div class="modal-footer">
    <button type="button" class="layui-btn layui-btn-primary js_close" close="true">取消</button>
    <button type="button" class="layui-btn btn-primary" _event="{$operation}" _data="{$id}">确定</button>
</div>


<script>
    $('.modal-dialog').css({
        'width': '400px'
    });
</script>